public class BadType {

    public void f1(){
        String str = " Good str";
        int i = 1 + 2; // good
        String str2 = 1 + "good too";
        String str3 = 1 + 2; //bad
    }
}